[INFO] cloning repository https://github.com/linqining/barnett-smart-protocol
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/linqining/barnett-smart-protocol" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fbarnett-smart-protocol", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fbarnett-smart-protocol'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7bfdef354d5c6642adaf39ce553d924c202f417
[INFO] fixing linqining/barnett-smart-protocol against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flinqining%2Fbarnett-smart-protocol" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/linqining/barnett-smart-protocol
[INFO] finished tweaking git repo https://github.com/linqining/barnett-smart-protocol
[INFO] tweaked toml for git repo https://github.com/linqining/barnett-smart-protocol written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/linqining/barnett-smart-protocol on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/linqining/barnett-smart-protocol already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Updating git repository `https://github.com/linqining/proof-base.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ark-relations v0.3.0
[INFO] [stderr]   Downloaded ark-serialize-derive v0.3.0
[INFO] [stderr]   Downloaded blake2 v0.9.2
[INFO] [stderr]   Downloaded ark-marlin v0.3.0
[INFO] [stderr]   Downloaded ark-poly-commit v0.3.0
[INFO] [stderr]   Downloaded ark-curve25519 v0.5.0
[INFO] [stderr]   Downloaded ark-ed25519 v0.5.0
[INFO] [stderr]   Downloaded ark-ec v0.3.0
[INFO] [stderr]   Downloaded ark-nonnative-field v0.3.0
[INFO] [stderr]   Downloaded ark-poly v0.3.0
[INFO] [stderr]   Downloaded ark-r1cs-std v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb
[INFO] running `Command { std: "docker" "start" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]    Compiling zerocopy v0.8.39
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling pest v2.8.6
[INFO] [stderr]     Checking tracing-core v0.1.36
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking opaque-debug v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.101
[INFO] [stderr]     Checking rayon v1.11.0
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]    Compiling semver-parser v0.10.3
[INFO] [stderr]     Checking digest v0.9.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking crypto-mac v0.8.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking blake2 v0.9.2
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling rustc_version v0.3.3
[INFO] [stderr]    Compiling ark-ff v0.3.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling ark-serialize-derive v0.3.0
[INFO] [stderr]    Compiling ark-ff-asm v0.3.0
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling ark-ff-macros v0.3.0
[INFO] [stderr]     Checking ark-std v0.3.0
[INFO] [stderr]     Checking ark-std v0.5.0
[INFO] [stderr]     Checking ark-serialize v0.3.0
[INFO] [stderr]    Compiling zeroize_derive v1.4.3
[INFO] [stderr]    Compiling enum-ordinalize-derive v4.3.2
[INFO] [stderr]    Compiling ark-serialize-derive v0.5.0
[INFO] [stderr]    Compiling ark-ff-macros v0.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling ark-ff-asm v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]     Checking ark-serialize v0.5.0
[INFO] [stderr]     Checking zeroize v1.8.2
[INFO] [stderr]    Compiling enum-ordinalize v4.3.2
[INFO] [stderr]     Checking merlin v3.0.0
[INFO] [stderr]    Compiling educe v0.6.0
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking ark-ff v0.5.0
[INFO] [stderr]     Checking ark-ec v0.3.0
[INFO] [stderr]     Checking ark-relations v0.3.0
[INFO] [stderr]     Checking ark-poly v0.3.0
[INFO] [stderr]     Checking ark-poly v0.5.0
[INFO] [stderr]     Checking ark-r1cs-std v0.3.1
[INFO] [stderr]     Checking ark-ec v0.5.0
[INFO] [stderr]     Checking ark-curve25519 v0.5.0
[INFO] [stderr]     Checking ark-bls12-381 v0.5.0
[INFO] [stderr]     Checking ark-ed25519 v0.5.0
[INFO] [stderr]     Checking ark-nonnative-field v0.3.0
[INFO] [stderr]     Checking ark-poly-commit v0.3.0
[INFO] [stderr]     Checking ark-marlin v0.3.0
[INFO] [stderr]     Checking proof-base v0.1.0 (https://github.com/linqining/proof-base.git?branch=master#dd39715f)
[INFO] [stderr]     Checking barnett-smart-protocol v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::BarnettSmartProtocol`
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::BarnettSmartProtocol;
[INFO] [stdout]    |         ^^^^^^^--------------------
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `BarnettSmartProtocol` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 -     use crate::BarnettSmartProtocol;
[INFO] [stdout] 25 +     use crate::barnett_smart_protocol;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::BarnettSmartProtocol`
[INFO] [stdout]   --> src/barnett_smart_protocol/remasking.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::BarnettSmartProtocol;
[INFO] [stdout]    |         ^^^^^^^--------------------
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `BarnettSmartProtocol` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 28 -     use crate::BarnettSmartProtocol;
[INFO] [stdout] 28 +     use crate::barnett_smart_protocol;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]    |
[INFO] [stdout] 28 |     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::BarnettSmartProtocol`
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::BarnettSmartProtocol;
[INFO] [stdout]    |         ^^^^^^^--------------------
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `BarnettSmartProtocol` in the root
[INFO] [stdout]    |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]    |
[INFO] [stdout] 25 -     use crate::BarnettSmartProtocol;
[INFO] [stdout] 25 +     use crate::barnett_smart_protocol;
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `crate::BarnettSmartProtocol`
[INFO] [stdout]  --> src/barnett_smart_protocol/tests.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::BarnettSmartProtocol;
[INFO] [stdout]   |         ^^^^^^^--------------------
[INFO] [stdout]   |                |
[INFO] [stdout]   |                no `BarnettSmartProtocol` in the root
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 5 -     use crate::BarnettSmartProtocol;
[INFO] [stdout] 5 +     use crate::barnett_smart_protocol;
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this trait instead
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]   |                ++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PlayerInfo` is never constructed
[INFO] [stdout]  --> src/barnett_smart_protocol/player.rs:3:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct PlayerInfo {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]  --> src/barnett_smart_protocol/player.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | impl PlayerInfo {
[INFO] [stdout]   | --------------- associated function in this implementation
[INFO] [stdout] 8 |     pub fn new(name:Vec<u8>) -> Self{
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:58:40
[INFO] [stdout]    |
[INFO] [stdout] 58 |             players.push(CardProtocol::player_keygen(rng, &parameters).unwrap());
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:73:40
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]    |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `mask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |             CardProtocol::mask(rng, &parameters, &aggregate_key, &some_card, &some_random).unwrap();
[INFO] [stdout]    |                           ^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `mask` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `mask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `remask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 81 |             CardProtocol::remask(rng, &parameters, &aggregate_key, &some_card, &some_random).unwrap();
[INFO] [stdout]    |                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_mask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:85:27
[INFO] [stdout]    |
[INFO] [stdout] 85 |             CardProtocol::verify_mask(
[INFO] [stdout]    |                           ^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `verify_mask` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_mask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `verify_remask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 85 |             CardProtocol::verify_remask(
[INFO] [stdout]    |                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_mask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/masking.rs:97:27
[INFO] [stdout]    |
[INFO] [stdout] 97 |             CardProtocol::verify_mask(
[INFO] [stdout]    |                           ^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `verify_mask` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_mask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `verify_remask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 97 |             CardProtocol::verify_remask(
[INFO] [stdout]    |                                  ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/remasking.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |             players.push(CardProtocol::player_keygen(rng, &parameters).unwrap());
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/remasking.rs:75:40
[INFO] [stdout]    |
[INFO] [stdout] 75 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]    |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `remask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/remasking.rs:82:87
[INFO] [stdout]    |
[INFO] [stdout] 82 |         let (remasked, remasking_proof): (MaskedCard, RemaskingProof) = CardProtocol::remask(
[INFO] [stdout]    |                                                                                       ^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `remask` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `remask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `mask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 82 -         let (remasked, remasking_proof): (MaskedCard, RemaskingProof) = CardProtocol::remask(
[INFO] [stdout] 82 +         let (remasked, remasking_proof): (MaskedCard, RemaskingProof) = CardProtocol::mask(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_remask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/remasking.rs:93:27
[INFO] [stdout]    |
[INFO] [stdout] 93 |             CardProtocol::verify_remask(
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `verify_remask` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_remask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `verify_mask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 93 -             CardProtocol::verify_remask(
[INFO] [stdout] 93 +             CardProtocol::verify_mask(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_remask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/remasking.rs:105:27
[INFO] [stdout]     |
[INFO] [stdout] 105 |             CardProtocol::verify_remask(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `verify_remask` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_remask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]  27 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `verify_mask` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 105 -             CardProtocol::verify_remask(
[INFO] [stdout] 105 +             CardProtocol::verify_mask(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:49:40
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]    |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:51:38
[INFO] [stdout]    |
[INFO] [stdout] 51 |         let (pk, sk) = CardProtocol::player_keygen(rng, &parameters).unwrap();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `compute_reveal_token` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:56:27
[INFO] [stdout]    |
[INFO] [stdout] 56 |             CardProtocol::compute_reveal_token(rng, &parameters, &sk, &pk, &some_masked_card)
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `compute_reveal_token` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `compute_reveal_token` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_reveal` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:61:27
[INFO] [stdout]    |
[INFO] [stdout] 61 |             CardProtocol::verify_reveal(
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `verify_reveal` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_reveal` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `verify_remask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 61 -             CardProtocol::verify_reveal(
[INFO] [stdout] 61 +             CardProtocol::verify_remask(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_reveal` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/reveal.rs:73:27
[INFO] [stdout]    |
[INFO] [stdout] 73 |             CardProtocol::verify_reveal(
[INFO] [stdout]    |                           ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `verify_reveal` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_reveal` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function `verify_remask` with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 -             CardProtocol::verify_reveal(
[INFO] [stdout] 73 +             CardProtocol::verify_remask(
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/tests.rs:37:40
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let (pk0, sk0) = CardProtocol::player_keygen(rng, &parameters).unwrap();
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/tests.rs:42:42
[INFO] [stdout]    |
[INFO] [stdout] 42 |             let (pk, sk) = CardProtocol::player_keygen(rng, &parameters).unwrap();
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/tests.rs:57:40
[INFO] [stdout]    |
[INFO] [stdout] 57 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]    |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `player_keygen` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/tests.rs:59:38
[INFO] [stdout]    |
[INFO] [stdout] 59 |         let (pk, sk) = CardProtocol::player_keygen(rng, &parameters).unwrap();
[INFO] [stdout]    |                                      ^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `player_keygen` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `player_keygen` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `prove_key_ownership` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:65:27
[INFO] [stdout]     |
[INFO] [stdout]  65 |             CardProtocol::prove_key_ownership(rng, &parameters, &pk, &sk, &player_info).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `prove_key_ownership` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `verify_key_ownership` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     fn verify_key_ownership<B: CanonicalSerialize>(
[INFO] [stdout] 149 | |         pp: &Self::Parameters,
[INFO] [stdout] 150 | |         pk: &Self::PlayerPublicKey,
[INFO] [stdout] 151 | |         player_public_info: &B,
[INFO] [stdout] 152 | |         proof: &Self::ZKProofKeyOwnership,
[INFO] [stdout] 153 | |     ) -> std::result::Result<(), CryptoError>;
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `prove_key_ownership` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_key_ownership` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:69:27
[INFO] [stdout]     |
[INFO] [stdout]  69 |             CardProtocol::verify_key_ownership(&parameters, &pk, &player_info, &p1_keyproof)
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `verify_key_ownership` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `prove_key_ownership` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | /     fn prove_key_ownership<B: CanonicalSerialize, R: Rng>(
[INFO] [stdout] 140 | |         rng: &mut R,
[INFO] [stdout] 141 | |         pp: &Self::Parameters,
[INFO] [stdout] 142 | |         pk: &Self::PlayerPublicKey,
[INFO] [stdout] 143 | |         sk: &Self::PlayerSecretKey,
[INFO] [stdout] 144 | |         player_public_info: &B,
[INFO] [stdout] 145 | |     ) -> std::result::Result<Self::ZKProofKeyOwnership, CryptoError>;
[INFO] [stdout]     | |_____________________________________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_key_ownership` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `prove_key_ownership` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:74:27
[INFO] [stdout]     |
[INFO] [stdout]  74 |             CardProtocol::prove_key_ownership(rng, &parameters, &pk, &other_key, &player_info)
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `prove_key_ownership` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `verify_key_ownership` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     fn verify_key_ownership<B: CanonicalSerialize>(
[INFO] [stdout] 149 | |         pp: &Self::Parameters,
[INFO] [stdout] 150 | |         pk: &Self::PlayerPublicKey,
[INFO] [stdout] 151 | |         player_public_info: &B,
[INFO] [stdout] 152 | |         proof: &Self::ZKProofKeyOwnership,
[INFO] [stdout] 153 | |     ) -> std::result::Result<(), CryptoError>;
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `prove_key_ownership` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_key_ownership` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:78:27
[INFO] [stdout]     |
[INFO] [stdout]  78 |             CardProtocol::verify_key_ownership(&parameters, &pk, &player_info, &wrong_proof),
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `verify_key_ownership` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `prove_key_ownership` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 | /     fn prove_key_ownership<B: CanonicalSerialize, R: Rng>(
[INFO] [stdout] 140 | |         rng: &mut R,
[INFO] [stdout] 141 | |         pp: &Self::Parameters,
[INFO] [stdout] 142 | |         pk: &Self::PlayerPublicKey,
[INFO] [stdout] 143 | |         sk: &Self::PlayerSecretKey,
[INFO] [stdout] 144 | |         player_public_info: &B,
[INFO] [stdout] 145 | |     ) -> std::result::Result<Self::ZKProofKeyOwnership, CryptoError>;
[INFO] [stdout]     | |_____________________________________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_key_ownership` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]   --> src/barnett_smart_protocol/tests.rs:93:40
[INFO] [stdout]    |
[INFO] [stdout] 93 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]    |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]    | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]    |
[INFO] [stdout]  3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `prove_key_ownership` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:100:31
[INFO] [stdout]     |
[INFO] [stdout] 100 |                 CardProtocol::prove_key_ownership(rng, &parameters, &player.0, &player.1, &player.2)
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `prove_key_ownership` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `verify_key_ownership` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:148:5
[INFO] [stdout]     |
[INFO] [stdout] 148 | /     fn verify_key_ownership<B: CanonicalSerialize>(
[INFO] [stdout] 149 | |         pp: &Self::Parameters,
[INFO] [stdout] 150 | |         pk: &Self::PlayerPublicKey,
[INFO] [stdout] 151 | |         player_public_info: &B,
[INFO] [stdout] 152 | |         proof: &Self::ZKProofKeyOwnership,
[INFO] [stdout] 153 | |     ) -> std::result::Result<(), CryptoError>;
[INFO] [stdout]     | |______________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `prove_key_ownership` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `compute_aggregate_key` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:112:27
[INFO] [stdout]     |
[INFO] [stdout] 112 |             CardProtocol::compute_aggregate_key(&parameters, &key_proof_info).unwrap();
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `compute_aggregate_key` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `compute_aggregate_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `compute_aggregate_key` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:120:27
[INFO] [stdout]     |
[INFO] [stdout] 120 |             CardProtocol::compute_aggregate_key(&parameters, &bad_key_proof_pairs);
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `compute_aggregate_key` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `compute_aggregate_key` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:138:40
[INFO] [stdout]     |
[INFO] [stdout] 138 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]     |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `mask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:145:27
[INFO] [stdout]     |
[INFO] [stdout] 145 |             CardProtocol::mask(rng, &parameters, &expected_shared_key, &card, &alpha).unwrap();
[INFO] [stdout]     |                           ^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `mask` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `mask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `remask` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 145 |             CardProtocol::remask(rng, &parameters, &expected_shared_key, &card, &alpha).unwrap();
[INFO] [stdout]     |                           ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `compute_reveal_token` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:150:52
[INFO] [stdout]     |
[INFO] [stdout] 150 |                 let (token, proof) = CardProtocol::compute_reveal_token(
[INFO] [stdout]     |                                                    ^^^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `compute_reveal_token` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `compute_reveal_token` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `unmask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:163:38
[INFO] [stdout]     |
[INFO] [stdout] 163 |         let unmasked = CardProtocol::unmask(&parameters, &decryption_key, &masked).unwrap();
[INFO] [stdout]     |                                      ^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `unmask` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `mask` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 | /     fn mask<R: Rng>(
[INFO] [stdout] 164 | |         rng: &mut R,
[INFO] [stdout] 165 | |         pp: &Self::Parameters,
[INFO] [stdout] 166 | |         shared_key: &Self::AggregatePublicKey,
[INFO] [stdout] 167 | |         original_card: &Self::Card,
[INFO] [stdout] 168 | |         alpha: &Self::Scalar,
[INFO] [stdout] 169 | |     ) -> std::result::Result<(Self::MaskedCard, Self::ZKProofMasking), CardProtocolError>;
[INFO] [stdout]     | |__________________________________________________________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `unmask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `unmask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:170:47
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let failed_decryption = CardProtocol::unmask(&parameters, &bad_decryption_key, &masked);
[INFO] [stdout]     |                                               ^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `unmask` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is an associated function `mask` with a similar name
[INFO] [stdout]    --> src/barnett_smart_protocol/mod.rs:163:5
[INFO] [stdout]     |
[INFO] [stdout] 163 | /     fn mask<R: Rng>(
[INFO] [stdout] 164 | |         rng: &mut R,
[INFO] [stdout] 165 | |         pp: &Self::Parameters,
[INFO] [stdout] 166 | |         shared_key: &Self::AggregatePublicKey,
[INFO] [stdout] 167 | |         original_card: &Self::Card,
[INFO] [stdout] 168 | |         alpha: &Self::Scalar,
[INFO] [stdout] 169 | |     ) -> std::result::Result<(Self::MaskedCard, Self::ZKProofMasking), CardProtocolError>;
[INFO] [stdout]     | |__________________________________________________________________________________________^
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `unmask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `setup` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:188:40
[INFO] [stdout]     |
[INFO] [stdout] 188 |         let parameters = CardProtocol::setup(rng, m, n).unwrap();
[INFO] [stdout]     |                                        ^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `setup` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `setup` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `shuffle_and_remask` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:197:60
[INFO] [stdout]     |
[INFO] [stdout] 197 |         let (shuffled_deck, shuffle_proof) = CardProtocol::shuffle_and_remask(
[INFO] [stdout]     |                                                            ^^^^^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `shuffle_and_remask` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `shuffle_and_remask` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_shuffle` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:209:27
[INFO] [stdout]     |
[INFO] [stdout] 209 |             CardProtocol::verify_shuffle(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `verify_shuffle` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_shuffle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `verify_shuffle` found for struct `DLCards<C>` in the current scope
[INFO] [stdout]    --> src/barnett_smart_protocol/tests.rs:221:27
[INFO] [stdout]     |
[INFO] [stdout] 221 |             CardProtocol::verify_shuffle(
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^ associated function or constant not found in `DLCards<ark_ec::short_weierstrass::Projective<ark_bls12_381::g1::Config>>`
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/barnett_smart_protocol/mod.rs:37:1
[INFO] [stdout]     |
[INFO] [stdout]  37 | pub struct DLCards<C: CurveGroup> {
[INFO] [stdout]     | --------------------------------- associated function or constant `verify_shuffle` not found for this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: trait `BarnettSmartProtocol` which provides `verify_shuffle` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]   3 +     use crate::barnett_smart_protocol::BarnettSmartProtocol;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `barnett-smart-protocol` (lib test) due to 40 previous errors
[INFO] running `Command { std: "docker" "inspect" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb", kill_on_drop: false }`
[INFO] [stdout] c0f8ef63d8f433db7a23ca01672e053cb41862b0765fb2f631227151b9553ccb
